package com.pro.staffmanage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: Haotian Cui
 * @Date: 2022/7/16 - 07 - 16 - 23:46
 * @Description: com.example.staffmanage.controller
 * @Project: staffmanage
 * @version: 1.0
 * controller test
 */
@Controller
@RequestMapping("/hello")
public class HelloController {

    @ResponseBody
    @RequestMapping("/say")
    public String hello(){
        return "HelloBoot";
    }

}
